package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 订单管理系统示例应用
 * 
 * 演示 Enums Spring Boot Starter 的各种功能：
 * - 枚举的数据库自动转换
 * - JSON序列化和反序列化
 * - MVC参数绑定
 * - 枚举扫描和码表查询
 * 
 * @author Enums Framework Demo
 */
@SpringBootApplication
public class OrderManagementDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderManagementDemoApplication.class, args);
        
        System.out.println("\n" +
                "🚀 订单管理系统示例启动成功！\n" +
                "📖 访问 Swagger UI: http://localhost:8080/swagger-ui/\n" +
                "🔍 查看所有枚举: http://localhost:8080/api/enums\n" +
                "📋 示例订单API: http://localhost:8080/api/orders\n" +
                "💡 查看H2数据库: http://localhost:8080/h2-console\n");
    }
}
